package com.reliable.service.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
/**
 * 用户推送日志对象 xss_notification_log
 *
 * @author ruoyi
 * @date 2025-07-08
 */
@Data
@ApiModel(value = "用户推送日志对象")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ReliableNotificationLog extends BaseEntitys {
private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", position = 0)
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", position = 1)
    private Long userId;

    /**
     * 用户推送配置表id
     */
    @ApiModelProperty(value = "用户推送配置表id", position = 2)
    private Long configId;

    /**
     * 任务id
     */
    @ApiModelProperty(value = "任务id", position = 3)
    private Long taskId;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题", position = 4)
    private String title;

    /**
     * 推送内容
     */
    @ApiModelProperty(value = "推送内容", position = 5)
    private String content;

    /**
     * 推送状态 1.完成 2.失败
     */
    @ApiModelProperty(value = "推送状态 1.完成 2.失败", position = 6)
    private String status;

    /**
     * 失败原因
     */
    @ApiModelProperty(value = "失败原因", position = 7)
    private String errorMessage;

    /**
     * 推送时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "推送时间", position = 8)
    private Date createdAt;



}
